package com.suyuan.entity;

import java.util.Date;

public class Newtransitbatch {
    private Integer transitbatchid;

    private Integer routeid;

    private Date starttime;

    private Date endtime;

    private Integer carid;

    private Integer compid;

    private Integer startstationid;

    private Integer endstationid;

    private String startstationname;

    private String endstationname;

    public Integer getTransitbatchid() {
        return transitbatchid;
    }

    public void setTransitbatchid(Integer transitbatchid) {
        this.transitbatchid = transitbatchid;
    }

    public Integer getRouteid() {
        return routeid;
    }

    public void setRouteid(Integer routeid) {
        this.routeid = routeid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getCarid() {
        return carid;
    }

    public void setCarid(Integer carid) {
        this.carid = carid;
    }

    public Integer getCompid() {
        return compid;
    }

    public void setCompid(Integer compid) {
        this.compid = compid;
    }

    public Integer getStartstationid() {
        return startstationid;
    }

    public void setStartstationid(Integer startstationid) {
        this.startstationid = startstationid;
    }

    public Integer getEndstationid() {
        return endstationid;
    }

    public void setEndstationid(Integer endstationid) {
        this.endstationid = endstationid;
    }

    public String getStartstationname() {
        return startstationname;
    }

    public void setStartstationname(String startstationname) {
        this.startstationname = startstationname == null ? null : startstationname.trim();
    }

    public String getEndstationname() {
        return endstationname;
    }

    public void setEndstationname(String endstationname) {
        this.endstationname = endstationname == null ? null : endstationname.trim();
    }

    public Newtransitbatch(){}

    @Override
    public String toString() {
        return "Newtransitbatch{" +
                "transitbatchid=" + transitbatchid +
                ", routeid=" + routeid +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", carid=" + carid +
                ", compid=" + compid +
                ", startstationid=" + startstationid +
                ", endstationid=" + endstationid +
                ", startstationname='" + startstationname + '\'' +
                ", endstationname='" + endstationname + '\'' +
                '}';
    }
}